package com.clw.repository;

import com.clw.dataobject.DataDictionaryDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Administrator on 2017-11-18.
 */
public interface DataDictionaryDetailRepository extends JpaRepository<DataDictionaryDetail,Integer> {
    List<DataDictionaryDetail> findAllByMainId(Integer mainId);

    void deleteAllByMainId(Integer mainId);
}
